<?php
/* @var $this NgfxaccountController */
/* @var $model Ngfxaccount */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'ngfxaccount-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username',array('readonly'=>true,'size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password',array('readonly'=>true,'size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'insta_username'); ?>
		<?php echo $form->textField($model,'insta_username',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'insta_password'); ?>
		<?php echo $form->textField($model,'insta_password',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_password'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_trading_account'); ?>
		<?php echo $form->textField($model,'insta_trading_account',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_trading_account'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_trader_password'); ?>
		<?php echo $form->textField($model,'insta_trader_password',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_trader_password'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_phone_password'); ?>
		<?php echo $form->textField($model,'insta_phone_password',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_phone_password'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_pin'); ?>
		<?php echo $form->textField($model,'insta_pin',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_pin'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_investor_password'); ?>
		<?php echo $form->textField($model,'insta_investor_password',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_investor_password'); ?>
	</div>
        
        <div class="row">
		<?php echo $form->labelEx($model,'insta_server'); ?>
		<?php echo $form->textField($model,'insta_server',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'insta_server'); ?>
	</div>
     	
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->